from django.urls import path

from . import views


app_name = 'shop'

urlpatterns = [
    path('', views.DisplayingListProducts.as_view(), name='list_products'),
    path('<str:slug>/', views.DisplayingListProducts.as_view(), name='list_products'),
    path('<int:id>/<str:slug>/', views.DisplayingProduct.as_view(), name='product_detail'),
]
